Skip to content

Feat/tbb style parallel#2

Merged
bolu-atx merged 11 commits intomasterfrom
feat/tbb-parallel
Sep 3, 2025
Merged

Feat/tbb style parallel#2
bolu-atx merged 11 commits intomasterfrom
feat/tbb-parallel

Conversation

@bolu-atx
Copy link
Copy Markdown
Owner

@bolu-atx bolu-atx commented Sep 3, 2025

No description provided.

- Created ThreadPool class for parallel processing
- Added DBSCANOptimized class with spatial grid indexing
- Implemented UnionFind for connected components
- Added grid-based neighbor lookup optimization
- Framework ready for parallel core point detection and union-find operations

Note: ThreadPool implementation needs refinement for C++ compatibility
- Added ankerl::nanobench for high-precision benchmarking
- Created benchmark executable for performance comparison
- Benchmarks different data sizes (1k, 10k, 50k, 100k points)
- Compares original vs optimized DBSCAN implementations
- Tests parameter sensitivity (eps, min_pts)
- Includes detailed performance analysis with timing
- Measures speedup and cluster count accuracy

Note: Some template syntax issues need resolution for full functionality
- build: Build the project with CMake
- test: Run unit tests
- clean: Clean build artifacts
- benchmark: Run performance benchmarks
- compile_commands: Generate compile_commands.json for IDEs
- format: Format code with clang-format
- install: Install the library
- docs: Generate documentation
- debug/release: Build in different configurations
- ci: Full CI pipeline simulation
- deps: Check system dependencies
- stats: Show project statistics
- package: Create release package
- help: Show available targets

Provides convenient development workflow with proper dependency management
- Switch from Make to Ninja build system for faster builds
- Remove unused ThreadPool implementation (not currently used in optimized DBSCAN)
- Update CMakeLists.txt with build system notes
- Keep optimized DBSCAN framework for future parallel enhancements
@bolu-atx bolu-atx self-assigned this Sep 3, 2025
@bolu-atx bolu-atx marked this pull request as ready for review September 3, 2025 05:00
@bolu-atx bolu-atx merged commit fbc868c into master Sep 3, 2025
1 check passed
@bolu-atx bolu-atx deleted the feat/tbb-parallel branch September 3, 2025 05:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant